package com.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * turbine监控单个集群
 * http://172.0.0.1:8031/turbine.stream?cluster=SUNXJ-MICROSERVICE-CONSUMER-MOVIE-RIBBON-WITHHYSTRIX
 * 
 * turbine监控多个集群：
 * http://172.22.162.206:8031/turbine.stream
 *
 */
@SpringBootApplication
@EnableTurbine
public class App {
	
	public static void main(String[] args) {
		SpringApplication application = new SpringApplication(App.class);
		ConfigurableApplicationContext context = application.run(args);
		
		
		System.out.println("============end=======================");
	}

}
